<?php

class Backend_AboutController extends Zend_Controller_Action {

//put your code here
    public function init() {
        $this->_helper->layout->setLayout('backend');
        Service_Account::checkLogin(2);
    }
    
    public function indexAction() {
        if ($this->_request->isPost()) {
            $desc = $this->_request->getPost('aboutme');

            $result = Service_Model::factory('About', 'updateAboutMe', $desc, 'backend');
        }

        $aboutme = Service_Model::factory('About', 'getAboutMe', NULL, 'backend');
        $this->view->aboutme = $aboutme['aboutme'];
    }
}

